Validate the SADMIN MAC (Administrative MAC of the PSAM)

Command:

Validate the SADMIN MAC.

Notes:

Use of this command requires the optional ESP licence. Error code 67 will be returned if the command is not licensed.

 

Field

Length & Type

Details

COMMAND MESSAGE

Message Header

m A

Will be returned to the Host unchanged

Command Code

2 A

Value “Y6”

SADMIN

16 H

Signature for verification

Length

2 B

Length

Record Type

1 B

Record Type

RIDPSAM

5 B

The RID of the PSAM Creator

IDPSAMCREATOR

4 B

The identifier assigned to the PSAM creator by the RIDPSAM owner.

IDPSAM

4 B

PSAM Identifier assigned by the PSAM creator.

Administrative Record ID

1 B

Operating data table content status.

CNTTABLE

1 B

Number of tables whose status is being reported in this record.

Table IDN

1 B

Identifies the table being reported.

HASH valueN

8 B

Hash value of data in the table.

End Message Delimiter

1 C

Optional. Must be present if a message trailer is present. Value X'19

Message Trailer

n A

Optional. Maximum length 32 characters

RESPONSE MESSAGE

Message Header

m A

Will be returned to the Host unchanged

Response Code

2 A

Value “Y7”

Error Code

2 N

00 – No error. SADMIN validated successfully

01 – SADMIN validation failed.

10 – KMAC parity error

12 – No keys loaded in user storage

13 – LMK error - report to Supervisor

15 – Error in input data

21 – Invalid user storage index

  

End Message Delimiter

1 C

Will only be present if present in the command message. Value X'19

Message Trailer

n A

Will only be present if in the command message. Maximum length 32 characters